package com.example.entity.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@Api("分页返回")
public class CommonPageVo <T> {

    @ApiModelProperty("总数据量")
    private Long total;

    @ApiModelProperty("总数据量")
    private List<T> result;
}
